﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BneyBaruch.Ingest.MorningLesson.Contracts.Interfaces;
using BneyBaruch.Ingest.MorningLesson.WorkflowServices;

namespace BneyBaruch.Ingest.MorningLesson.WorkflowProcessorServices
{
    public class MorningLessonWorkflowManagerCallback : IMorningLessonWorkflowManagerCallback
    {
        #region Fields

        private MorningLessonInjestWorkflowLocalService morningLessonInjestWorkflowLocalService;

        #endregion

        #region Constructors

        public MorningLessonWorkflowManagerCallback(MorningLessonInjestWorkflowLocalService morningLessonInjestWorkflowLocalService)
        {
            this.morningLessonInjestWorkflowLocalService = morningLessonInjestWorkflowLocalService;
        }

        #endregion

        #region IMorningLessonWorkflowManagerCallback Members

        public void ApproveMatrixAdjustment(Guid workflowId)
        {
            morningLessonInjestWorkflowLocalService.NotifyMatrixAdjustmentApproved(workflowId);
        }

        #endregion
    }
}
